package org.ooda.distributedsys.loginmodule.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @program: distributedSys
 * @description: user实体类
 * @author: Aprilies
 * @create: 2023-03-17 15:00
 **/

@Data
@TableName("users")
public class User {
    @TableId
    private Integer id;
    private String username;
    @TableField("passwd")
    private String password;
    @TableField("created_at")
    private Date create_at;
}
